package com.fly.show.notepad.action;
//HelpAction.java

import org.eclipse.jface.action.Action;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.resource.ImageDescriptor;

public class HelpAction extends Action
{
    public HelpAction()
    {
        super();
        setText("帮助内容(&H)");
        setToolTipText("帮助");
        setImageDescriptor(ImageDescriptor.createFromFile(NewAction.class, "icons/help.gif"));
    }
    
    @Override
    public void run()
    {
        MessageDialog.openInformation(null, "帮助", "谢谢使用！");
    }
}